package cn.kgc.easybuy.dao;

import cn.kgc.easybuy.pojo.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper {
    int delOrder(Integer id);

    int updateOrder(Order  order);

    int addOrder(Order order);

    Order selectOrderById(Integer id);

    List<Order> selectOrderByPage(Map<String,Object> params);

    Order selectOrderBySerialNumber(String serialNumber);
}
